package io.github.talelin.latticy.common.constant;

/**
 * @authoer:wulongbo
 * @createDate:2022/9/13
 * @description:
 */
public class RuleTemplateConstant {

    /**
     * min
     */
    public static final Integer MIN = 0;

    /**
     * max
     */
    public static final Integer MAX = 1;


    /**
     * 结果首部
     */
    public static final String RULE_HEAD = "ruleCost=ruleCost";

    /**
     * 结果主体
     */
    public static final String RULE_BODY = ".add(accuracyService.thresholdLimit($chargeDataItem.get";


    /**
     * 结果尾部
     */
    public static final String RULE_FOOT = "))";

    /**
     * 方法体
     */
    public static final String METHOD_BODY = "()";

    /**
     * 字符串类型字符
     */
    public static final char STRING_CHAR = '"';

    /**
     * 字符串类型字符
     */
    public static final char STRING_CHAR_FEN = ';';

    /**
     * 结果拼接字符
     */
    public static final String CONNECT_CHAR = ",";

    /**
     * +拼接字符
     */
    public static final String CONNECT_PLUS = "+";

    /**
     * $拼接字符
     */
    public static final String CONNECT_DAO = "$";

    /**
     * $拼接字符
     */
    public static final String CONNECT_MULTIPLICATION = "x";

    /**
     * 结果占位符
     */
    public static final String PLACEHOLDER = "absoluteCollection";

    /**
     * 如果
     */
    public static final String IF_CONDITION = "如果";

    /**
     * 总费用
     */
    public static final String TOTAL_PRICE = "总费用=";

    /**
     * 总费用
     */
    public static final int FRAME_TYPE_2 = 2;
}
